package sights.scenic_detail.service;

import sights.VO.ScenicDetailVO;
import sights.scenic_detail.dao.Sc_de_dao;
import sights.scenic_detail.dao.Sc_de_daoImpl;
import sights.scenic_detail.model.Scenic_detail;
import util.PageModel;

import java.util.List;

public class DetailServiceImpl implements DetailService{
    Sc_de_dao scDeDao=new Sc_de_daoImpl();
    @Override
    public List<Scenic_detail> selectByPage(PageModel pageModel) {
        return null;
    }

    @Override
    public ScenicDetailVO selectById(Integer sight_id) {
        return scDeDao.selectById(sight_id);
    }

    @Override
    public int saveOne(Scenic_detail scenic_detail) {
        return 0;
    }

    @Override
    public int updateOne(Scenic_detail scenic_detail) {
        return 0;
    }

    @Override
    public int deleteOne(Scenic_detail scenic_detail) {
        return 0;
    }
}
